package io.gitee.hchaojie.day03.tetris;

import javafx.beans.property.BooleanProperty;
import javafx.beans.property.ObjectProperty;
import javafx.geometry.HorizontalDirection;

public interface GameController {
	void start();
	void pause();
	void play();
	void stop();
	
	void speedUp();
	
	/** 砖块旋转 */
	void rotate();
	
	/** 砖块左右移动 */
	void move(HorizontalDirection d);
	
	BooleanProperty pausedProperty();
	
	ObjectProperty<Brick> nextBrickProperty();
}
